package data.nanjing.expo.models.dao;

import data.nanjing.expo.models.domain.AuthInfo;
import org.apache.ibatis.annotations.Param;

/**
 * Created by zjp on 2018/7/4.
 * QQ：34948062
 * github: https://www.github.com/zjp1029
 * web： http://www.zjp1029.cn
 */
public interface AuthInfoDao {

    public Integer addPersonAuthInfo(AuthInfo authInfo);

    public Integer addCompanyAuthInfo(AuthInfo authInfo);

    public AuthInfo selectAuthInfoByUserId(@Param("userId") Integer userId);

    public void updateCompanyAuthInfo(AuthInfo authInfo);

    public void updatePersonAuthInfo(AuthInfo authInfo);
}
